<!DOCTYPE html>
<?php
  date_default_timezone_set("PRC");
  $nowtime = time();
  $rq = date("Y-m-d",$nowtime);
?>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
<script src="js/mydate.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span> 新增航线信息</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="UpdateRoute" enctype="multipart/form-data">  
       <div class="form-group">
        <div class="label">
          <label>航线编号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="route.rno"  data-validate="required:此项目必填！,length#==2:客房编号必须为2位而且若为单位数编号，则需在前面加0！" /> 
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>航线类型：</label>
          </div>
        <select id="s1_text1_bold" name="route.rpattern">
                                    <option value="日本航线" selected="selected">日本航线</option>
                                    <option value="韩国航线">韩国航线</option>
                                    <option value="美国航线">美加航线</option>   
                                    <option value="欧洲航线">欧洲航线</option>
                                    <option value="新马泰航线">新马泰航线</option>                                  
       </select>
      </div>
          <div class="form-group">
        <div class="label">
          <label>游轮名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="route.rbname"  data-validate="required:此项目必填！" /> 
        </div>
      </div>
        <div class="form-group">
        <div class="label">
          <label>航线始末日程：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="route.rstime" onfocus="MyCalendar.SetDate(this)" value="<?php echo $rq;?>">
          <input type="text" class="input w50" name="route.retime" onfocus="MyCalendar.SetDate(this)" value="<?php echo $rq;?>">
          <div class="tips"></div>
        </div>
      </div>
          <div class="form-group">
        <div class="label">
          <label>沿线城市：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="route.rcity" data-validate="required:此项目必填！" />
          <div class="tips"></div>
        </div>
      </div>
          <div class="form-group">
        <div class="label">
          <label>业务价格：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="route.rprice" data-validate="required:此项目必填！,length#<=5:定价超限，最多不超过99999元。" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>航线描述：</label>
        </div> 
        <div class="field">
          <textarea class="input" name="route.rintroduction" data-validate="required:必须输入航线关键字，如休闲、购物之旅！" style="height:90px;"></textarea>
          <div class="tips"></div>
        </div>
      </div>
        <div class="form-group">
        <div class="label">
          <label>航线状态：</label>
        </div>
        <div class="field">
                                正常：<input type="radio" id="check" name="route.rstate" value="正常"/>    关闭：<input type="radio" name="route.rstate" checked="checked" value="关闭"/>         </div>
      </div>
       <div class="form-group">
       <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit">提交</button>
          <button class="button bg-main icon-pencil-square-o" type="reset">重置</button>     
        </div>
      </div>  
 </form>
 </div>
 </div>
</body>
</html>